<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加员工</title>
    <link rel="stylesheet" href="/vendor/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="/vendor/font-awesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<div class="content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-10">
                <div class="card">
                    <div class="card-header bg-light">
                        添加项目信息
                    </div>
                    <form th:action="@{/update}" method="post">
                        <div class="card-body">
                            <div class="row mb-5">


                                <div class="col-md-8">
                                    <div class="row">

                                        <input type="hidden" th:value="${proId}" name="proId">


                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">项目建立时间</label>
                                                <input type="date" class="form-control" name="proStartTime"
                                                       th:value="${#dates.format(pro.proStartTime,'yyyy-MM-dd')}">
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">项目名称</label>
                                                <input type="text" class="form-control" name="proName"
                                                       th:value="${pro.proName}">
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">项目结束时间</label>
                                                <input type="date" class="form-control" name="proEndTime"
                                                       th:value="${#dates.format(pro.proEndTime,'yyyy-MM-dd')}">
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">项目类型</label>
                                                <input class="form-control" name="proType" th:value="${pro.proType}">
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">模型主管</label>
                                                <input class="form-control" name="modelManager"
                                                       th:value="${pro.modelManager}">
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">渲染主管</label>
                                                <input class="form-control" name="drawManager"
                                                       th:value="${pro.drawManager}">
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">后期主管</label>
                                                <input class="form-control" name="laterManager"
                                                       th:value="${pro.laterManager}">
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="form-control-label">项目状态</label>
                                                <input class="form-control" name="proState" th:value="${pro.proState}">
                                            </div>
                                        </div>

                                        <div class="card-footer bg-light text-right">
                                            <button type="submit" class="btn btn-primary">修改</button>
                                        </div>

                                    </div>

                                </div>
                            </div>

                            <hr>

                        </div>

                    </form>
                    <div class="card-footer bg-light text-right">
                        <a href="/manager/all_msg">
                            <button type="submit" class="btn btn-outline-danger">取消</button>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/vendor/jquery/jquery.min.js"></script>
<script src="/vendor/popper.js/popper.min.js"></script>
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="/vendor/chart.js/chart.min.js"></script>

</body>
</html>
